package com.jiyun.controller;


import com.jiyun.result.Result;
import com.jiyun.service.IZlLabelService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 
 * @since 2024-09-22
 */
@RestController
@RequestMapping("/label/")
@Api("管理")
@Slf4j
public class ZlLabelController {


    @Autowired
    private IZlLabelService zlLabelService;


    @RequestMapping("findLabel")
    public Result findLable(){
        return Result.ok(zlLabelService.list());
    }


}
